package com.gx.model.pojo;

import com.baomidou.mybatisplus.annotation.*;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.Date;

/**
 * 流程启动信息
 *
 * @TableName tb_flow_start
 */
@TableName(value = "tb_flow_start")
@Data
@AllArgsConstructor
@NoArgsConstructor
@Builder
public class TbFlowStart implements Serializable {
    /**
     *
     */
    @TableId(type = IdType.ASSIGN_ID)
    private String id;

    /**
     *
     */
    private String taskFormId;

    /**
     * 启动人id
     */
    private String startUserId;

    /**
     * 启动人昵称
     */
    private String startUserName;

    /**
     *
     */
    private String nextTaskId;

    /**
     * 下一节点
     */
    private String nextTaskName;

    /**
     * 启动时间
     */
    @TableField(fill = FieldFill.INSERT)
    private Date startTime;

    /**
     * 修改时间
     */
    @TableField(fill = FieldFill.UPDATE)
    private Date updateTime;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}